package com.csu.service;

import com.csu.domain.Category;
import com.csu.domain.Item;
import com.csu.persistence.CategoryDao;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@MapperScan("com.csu.persistence")
public class CategoryService {
    @Autowired
    private CategoryDao categoryDao;

//    public List<Category> selectAllCategory(){
//
//        return categoryDao.selectAllCategory();
//    }
//
//    public boolean addCategory(String name)
//    {return categoryDao.addCategory(name);}

}
